package cn.edu.ujn.liuklab3.service;

import cn.edu.ujn.liuklab3.entity.Review;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

public interface ReviewService {

    Review queryById(Integer reviewId);

    Page<Review> queryByPage(Review review, PageRequest pageRequest);

    Review insert(Review review);

    Review update(Review review);

    boolean deleteById(Integer reviewId);

    cn.edu.ujn.util.Page<Review> selectAll(Review review);
}
